import time

from selenium.webdriver.common.by import By

from AcquireJingDongProductData import AcquireProductData
from AcountLogin import LogOp

if __name__ == '__main__':
    data = AcquireProductData()
    data.driver.find_element(By.XPATH, '/html/body/div[1]/div[3]/div/ul[1]/li[3]/a[1]').click()  # 进入登录页面
    time.sleep(20)
    data.searchTag()
    total =data.getTotalpage()
    print(total)
    # data.searchTag()
    # pages = data.getTotalpage()
    # pages(pages)




